package com.yykj.user.center.server.form;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.Column;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import java.util.List;


@Data
public class AddMedicalRecordForm {

    @NotEmpty(message = "请填入 问诊ID")
    @ApiModelProperty("问诊Id")
    private String consultationId;

    @ApiModelProperty("主诉")
    @NotEmpty(message = "请填入 主诉")
    private String chiefComplaint;

    @ApiModelProperty("意见")
    @NotEmpty(message = "请填入 意见")
    private String opinion;

    @ApiModelProperty("医嘱 已废弃")
    @Deprecated
    private String exhort;

    @ApiModelProperty("主诉 图片列表")
    private List<String> chiefComplaintImgPath;

    @ApiModelProperty("意见 图片列表")
    private List<String> opinionImgPath;

    @ApiModelProperty("用药医嘱")
    @NotEmpty(message = "请填入 用药医嘱")
    private List<ExhortItemForm> exhortList;

}
